#!/bin/bash
#

read -p "输入密码：" pwd1
read -p "确认密码：" pwd2

if [ "$pwd1" == "$pwd2" ]; then
    echo "成功"
else
    echo "失败"
fi
